package com.py.credit.constant;

public class LhjcConstant {

    /**
     * t_1000000010007_u6tnVOcB9I:法人黑名单
     * t_1000010010008_VU2pjsxdhk:自然人黑名单
     * t_1000000010005_JgddEske8s:法人红名单
     * t_1000010010006_5qTzTGI6gL:自然人红名单
     */
    public final static String[] HONG_HEI_MD_TABLE = {"t_1000000010007_u6tnVOcB9I",
            "t_1000010010008_VU2pjsxdhk",
            "t_1000000010005_JgddEske8s",
            "t_1000010010006_5qTzTGI6gL"};

    public static String getJclb(String tableName) {
        if (tableName.equals("t_1000000010007_u6tnVOcB9I") || tableName.equals("t_1000010010008_VU2pjsxdhk")) {
            return "C";
        } else {
            return "J";
        }
    }

    public static String getType(String tableName) {
        if (tableName.equals("t_1000000010007_u6tnVOcB9I") || tableName.equals("t_1000000010005_JgddEske8s")) {
            return "C";
        } else {
            return "P";
        }
    }
}
